<!DOCTYPE html>
<html>
<meta charset="utf-8"/>
<head>
    <title>添加课程</title>
    <!-- CSS -->
    <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/4.6.2/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous">
</head>
<body>
<!--<div class="container mt-4">-->
<!--    <h3>添加课程</h3>-->
<!--    <form action="addCourse" method="post">-->
<!--        <div class="form-group">-->
<!--            <label for="info">课程:</label>-->
<!--            <input type="text" class="form-control" id="info" name="info">-->
<!--        </div>-->
<!--        <div class="form-group">-->
<!--            <label for="week">星期:</label>-->
<!--            <input type="text" class="form-control" id="week" name="week" value="周一">-->
<!--        </div>-->
<!--        <div class="form-group">-->
<!--            <label for="lessonStart">开始节次:</label>-->
<!--            <input type="text" class="form-control" id="lessonStart" name="lessonStart">-->
<!--        </div>-->
<!--        <div class="form-group">-->
<!--            <label for="lessonEnd">结束节次:</label>-->
<!--            <input type="text" class="form-control" id="lessonEnd" name="lessonEnd">-->
<!--        </div>-->
<!--        <button type="submit" class="btn btn-primary">增加</button>-->
<!--    </form>-->
<!--</div>-->

<div class="container mt-4">
    <h3>添加课程</h3>
    <form action="addCourse" method="post">
        <div class="form-group">
            <label for="info">课程:</label>
            <input type="text" class="form-control" id="info" name="info">
        </div>
        <div class="form-group">
            <label for="week">星期:</label>
            <input type="text" class="form-control" id="week" name="week" > <!-- Assuming the default value for week is 1 (Monday) -->
        </div>
        <div class="form-group">
            <label for="lessonStart">开始节次:</label>
            <input type="text" class="form-control" id="lessonStart" name="lessonStart">
        </div>
        <div class="form-group">
            <label for="lessonEnd">结束节次:</label>
            <input type="text" class="form-control" id="lessonEnd" name="lessonEnd">
        </div>
        <div class="form-group">
            <label for="day_of_week">周几:</label>
            <input type="text" class="form-control" id="day_of_week" name="day_of_week">
        </div>
        <div class="form-group">
            <label for="date">日期:</label>
            <input type="text" class="form-control" id="date" name="date">
        </div>
        <div class="form-group">
            <label for="teacher">教师:</label>
            <input type="text" class="form-control" id="teacher" name="teacher">
        </div>
        <div class="form-group">
            <label for="place">地点:</label>
            <input type="text" class="form-control" id="place" name="place">
        </div>
        <button type="submit" class="btn btn-primary">增加</button>
    </form>
</div>

<script src="mycourse/js/jquery-3.7.1.min.js" type="text/javascript"></script>

</body>
</html>
